home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Netware Super Library
/
Netware Super Library.iso
/
loginout
/
fslogin
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1994-10-13
|
6KB
|
146 lines
@echo off
cls
echo\
echo ╒══════════════════════════════════════════════════════════════╕
echo │ INSTALL.BAT FSLOGIN 1.50 │
echo │ │
echo │ This batch file installs Full Screen Login on a server. │
echo │ │
echo │ Please be sure that you have SUPERVISOR or EQUIVALENT rights │
echo │ because files must be copied to the SYS:LOGIN and the SYS: │
echo │ PUBLIC directories. │
echo │ │
echo │ Continue? 'Y'es or 'N'o. │
echo ╘══════════════════════════════════════════════════════════════╛
echo\
yesno
if errorlevel 1 goto check_source
goto end
::
:check_source
::
if exist install.bat goto check_target
cls
echo\
echo ╒══════════════════════════════════════════════════════════════╕
echo │ HELP_1 1.50 │
echo │ │
echo │ This batch file should be run from the same drive and │
echo │ directory, where the other files of the FSLOGIN package │
echo │ reside. │
echo │ Please change the current drive and directory first. │
echo │ │
echo ╘══════════════════════════════════════════════════════════════╛
echo\
pause
goto end
::
:check_target
::
if NOT exist sys:login\fslogin.* goto select
cls
echo\
echo ╒══════════════════════════════════════════════════════════════╕
echo │ HELP_2 1.50 │
echo │ │
echo │ Full Screen Login is already installed on this server. │
echo │ Do you want to write over the currently installed version? │
echo │ │
echo │ Continue? 'Y'es or 'N'o. │
echo ╘══════════════════════════════════════════════════════════════╛
echo\
yesno
if errorlevel 1 goto write_over
goto end
::
:write_over
::
flag sys:login\fslogin.* rw
flag sys:public\fslogin.com rw
::
:select
::
cls
echo\
echo ╒══════════════════════════════════════════════════════════════╕
echo │ HELP_3 1.50 │
echo │ │
echo │ Full Screen Login has support for multiple languages. Please │
echo │ select one of them with a function key. │
echo │ │
echo │ F1 - English │
echo │ F2 - Dutch │
echo │ F3 - German │
echo │ F4 - French │
echo │ │
echo │ F10 - Quit installation │
echo │ │
echo ╘══════════════════════════════════════════════════════════════╛
echo\
fk 1234A
if errorlevel 10 goto end
if errorlevel 4 goto french
if errorlevel 3 goto german
if errorlevel 2 goto dutch
if errorlevel 1 goto english
goto end
::
:english
::
cls
copy US.* fslogin.*
goto generic
::
:dutch
::
cls
copy NL.* fslogin.*
goto generic
::
:german
::
cls
copy DE.* fslogin.*
goto generic
::
:french
::
cls
copy FR.* fslogin.*
goto generic
::
:generic
::
ncopy fslogin.* sys:login
ncopy fslogin.com sys:public
flag sys:login\fslogin.* ro s
flag sys:login\fslogin.ini rw s
flag sys:public\fslogin.com ro s
pause
cls
echo\
echo ╒══════════════════════════════════════════════════════════════╕
echo │ HELP_4 1.50 │
echo │ │
echo │ When there are no error messages from the ncopy and flag │
echo │ commands, Full Screen Login has been installed. │
echo │ │
echo │ Just type FSLOGIN at the dos prompt to use this program, or │
echo │ refer to the documentation for further instructions. │
echo │ │
echo │ ┌─────────┐ │
echo │ ┌─────┴───┐ │ (R) │
echo │ ──│ │o │────────────────── │
echo │ │ ┌─────┴╨──┐ │ Association of │
echo │ │ │ │─┘ Shareware │
echo │ └───│ o │ Professionals │
echo │ ──────│ ║ │──────────────────── │
echo │ └────╨────┘ MEMBER │
echo ╘══════════════════════════════════════════════════════════════╛
echo\
pause
goto end
::
:end
::